package com.txtTool.articleTxt.service;

import com.kennycason.kumo.WordFrequency;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface BaseService {

    void getTxtCach() throws IOException;

    List<WordFrequency> wordDemoFun(int topNum);

    String getAbstract( int length);
    List<String> getPhrase( int num);
    List<String> getKeyWords(int num);
    Map<String,List> getSeg();

}
